import Layout from "../views/layout/Index.vue";
const routes = [
  // authFail
  {
    id: "authFail",
    path: "/authFail", //身份验证失败页
    component: () => import("../views/errorPage/403.vue")
  },
  // 404页面
  {
    id: "error",
    path: "/error",
    component: Layout,
    redirect: "/404",
    children: [
      {
        id: "403",
        path: "/403",
        component: () => import("../views/errorPage/403.vue")
      },
      {
        id: "404",
        path: "/404",
        component: () => import("../views/errorPage/404.vue")
      }
    ]
  }
];
export default routes;
